#!/usr/bin/env bash
#cd ..
#npm run build
#cd brun
#VERSION=0.1


#获取当前目录路径，赋值给cpath变量
cpath=`pwd`
echo $cpath
#从右向左截取第一个 src 后的字符串
PROJECT_PATH=${cpath%src*}
echo ${PROJECT_PATH}
#将Golang项目空间的地址设置追加到GOPATH环境变量中
export GOPATH=$GOPATH:${PROJECT_PATH}



#alias SET_SOCKS5_PROXY='polipo socksParentProxy=127.0.0.1:1086 proxyAddress=0.0.0.0'
#
#alias SET_HTTP_HTTPS_PROXY='env http_proxy=http://127.0.0.1:8123 https_proxy=http://127.0.0.1:8123'

#SET_SOCKS5_PROXY
#SET_HTTP_HTTPS_PROXY dep init -v